<?php

class Welcome extends Controller {

	function Welcome()
	{
		parent::Controller();	
	}
	
	function index()
	{
            $this->load->helper('url');
            $form = $this->formLogin();
            $this->load->view('welcome_message',$form);
	}

        function formLogin(){
            $this->load->helper('form');

            $data['username'] = array(
                'name' => 'usernameLogin',
                'id' => 'usernameLogin',
            );

            $data['password'] = array(
                'name' => 'passwordLogin',
                'id' => 'passwordLogin',
                'type' => 'password'
            );

            $data['submit'] = array(
                'name' => 'submitLogin',
                'id' => 'submitLogin',
                'value' => 'Login'
            );
            return $data;
        }
}

/* End of file welcome.php */
/* Location: ./system/application/controllers/welcome.php */